import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import Vant from 'vant'
import '@/api/request'
import 'vant/lib/index.css'
import './style/base.less'
import './style/iconfont/iconfont.css'
// 页面适配
import 'amfe-flexible'
import 'normalize.css'
// md5加密
import md5 from 'js-md5'
Vue.component('navBar', () => import('@/components/navBar.vue'))
// 使用 vant
Vue.use(Vant)
// 使用md5 挂载到原型
Vue.prototype.$md5 = md5
// 兄弟通讯 挂载原型

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
